<include file="Public:header" />
<script language=javascript src="__PUBLIC__/Js/wpCalendar.js"></script>
<link rel="stylesheet" href="__PUBLIC__/layui/build/css/layui.css">
<script src="__PUBLIC__/layui/build/layui.js" charset="utf-8"></script>
<style>
 th,td{ padding: 3px; word-break: break-all;}
</style>
<!--时间选择-->
    <script>
        layui.use('laydate', function(){
            var laydate = layui.laydate;
            var start = {
                min: laydate.now()
                ,max: '2099-06-16 23:59:59'
                ,istoday: false
                ,choose: function(datas){
                    end.min = datas; //开始日选好后，重置结束日的最小日期
                    end.start = datas //将结束日的初始值设定为开始日
                }
            };
            var end = {
                min: laydate.now()
                ,max: '2099-06-16 23:59:59'
                ,istoday: false
                ,choose: function(datas){
                    start.max = datas; //结束日选好后，重置开始日的最大日期
                }
            };

        });
    </script>
    <!--时间选择END-->
<div class="accounttitle">
        <h1>详细奖金</h1></div>
<div class="ncenter_box">
    <form method='post' action="__URL__/adminFinanceTableShow/" style="padding:10px">
        <table align="center">
            <tr>
                <td>搜索会员：</td>
                <td>
                    <input type="text" name="UserID" placeholder="帐号查询" style=" border: 1px solid #c1c2c2;padding: 8px 0;text-indent: 15px;border-radius: 5px;width:100%">
                    <!-- <input type="text" name="UserID" title="帐号查询"> -->
                </td>
                <td>
                    <input type="submit"  value="查询" style="padding: 8px 12px; background: #b13a33;color: #fff;border-radius: 5px">
                    <!-- <input type="submit" name="Submit" value="查询" class="ui negative basic mini btn button_text" /> -->
                </td>
                <input name="did" type="hidden" id="did" value="{$did}" class="ui negative basic mini btn button_text" />
            </tr>
        </table>
    </form>
    <table width="100%" cellpadding=3 cellspacing=0 border=0 class="tab3">
        <tr>
            <td align="right" class="content_td">开始时间：{$cos_date|date='Y-m-d H:i:s',###}</td>
            <td align="left" class="content_td">结束时间：{$confirm|date='Y-m-d H:i:s',###}</td>
        </tr>
    </table>
    <form method='post' action="__URL__/adminBonus/" style="padding:10px">
    <table width="100%" cellpadding=3 border=0 cellspacing="1" id="tb1" bgcolor="#b9c8d0" class="tab3">    
        <thead>
            <tr align="center" class="content_td">
                <th width="50"><span>序号</span></th>
                <th ><span>交易帐号</span></th>
                <th ><span>{$fee_s7[0]}</span></th>
                <th ><span>{$fee_s7[1]}</span></th>
                <th ><span>{$fee_s7[2]}</span></th>
                <!--<th ><span>{$fee_s7[3]}</span></th>
                <th ><span>{$fee_s7[4]}</span></th>
                <th ><span>{$fee_s7[5]}</span></th>
                <th ><span>{$fee_s7[6]}</span></th>-->

                <th ><span>{$b_b[0]}</span></th>
                <!--<th ><span>状态</span></th>-->
                <!--<th ><span>发放时间</span></th>-->
                <th ><span>{$b_b[12]}</span></th>
            </tr>
        </thead>
        <volist name='list' id='vo'>
            <tr align="center" class="content_td">
                <td><input id="checkbox" type="checkbox" name="tabledb[]" value="{$vo['id']}" class="btn2 mar-top" />{$vo['id']}</td>
                <td>{$vo['uid']|user_id}</td>
                <td >{$vo['b1']}</td>
                <td >{$vo['b2']}</td>
                <td >{$vo['b3']}</td>
              <!--  <td >{$vo['b4']}</td>
                <td >{$vo['b5']}</td>
                <td >{$vo['b6']}</td>
                <td >{$vo['b7']}</td>-->
                <td >{$vo['b0']}</td>
                <!--<td style="color:red">{$vo['is_pay']==1?'已发放':'未发放'}</td>-->
                <!--<td style="color:red">{$vo['u_level']>0?$vo['u_level']|date='Y-m-d H:i:s',###:''}</td>-->
                <td><a href="__URL__/adminFinanceTableList/did/{$vo['did']}/uid/{$vo['uid']}" title="查看会员得奖明细">明细</a></td>
            </tr>
        </volist>
        <tr align="center">
            <td ></td>
            <td>总计：</td>
            <td >{$count[1]}</td>
            <td >{$count[2]}</td>
            <td >{$count[3]}</td>
            <!--<td >{$count[4]}</td>
            <td >{$count[5]}</td>
            <td >{$count[6]}</td>
            <td >{$count[7]}</td>-->
            <td >{$count[0]}</td>
            <!--<td ></td>-->
            <td ></td>
        </tr>
        <!--<tr align="center">
            <td colspan="26" align="left">
                <input name="全选" type="button" class="button_text button" id="AllX" onclick="CheckAll(this.form)" value="全选" style="padding:2px 15px;" />   &nbsp;&nbsp;
                <input type="submit" name="action" value="发放奖金" class="button_text button" onclick="{if(confirm('确定已发放奖金吗?')){return true;}return false;}" style="padding:2px 15px;">&nbsp;&nbsp;
                <input type="submit" name="action" value="撤销奖金" class="button_text button" onclick="{if(confirm('确定撤销发放奖金吗?')){return true;}return false;}" style="padding:2px 15px;">&nbsp;&nbsp;
                <label>填写发放时间:</label>
                <input name="NowDate" type="text" readonly value="{$NowDate}" onclick="layui.laydate({elem: this, festival: true})" style=" border: 1px solid #c1c2c2;padding: 4px;text-indent: 15px;border-radius: 5px;   "/>
               &lt;!&ndash;  <input name="button3" type="button" onclick="window.location.href='__URL__/financeDaoChu/did/{$did}'" value="导出Excel" class="ui negative basic mini btn button_text" /> &nbsp;&nbsp;&nbsp;
                <input name="button4" type="button" onclick="window.location.href='__URL__/financeDaoChuTwo/did/{$did}'" value="导出WPS" class="ui negative basic mini btn button_text" /> &nbsp;&nbsp;&nbsp;
                <input name="button4" type="button" onclick="window.location.href='__URL__/financeDaoChuTXT/did/{$did}'" value="导出TXT" class="ui negative basic mini btn button_text" /> &ndash;&gt;
            </td>
        </tr>-->
    </table>
    </form>
    <table width="100%" cellpadding=0 cellspacing=1 border=0>
        <tr align="center" class="content_td">
            <td colspan="10">{$page}</td>
        </tr>
    </table>
    <div style="height: 80px;"></div>
</div>

<script>
// new TableSorter("tb1");
</script>
<include file="Public:footer" />
